<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/8/26
  Time: 14:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ include file="/include/easyui.jsp" %>
    <title>未处理订单详情</title>
    <style>
        .module {
            width: 24%;
            height:100%;
            float:left;
            margin-right:1%;
        }
        .title{
            font-size:16px;
            font-weight:bold;
            text-align: center;
            margin:20px 0;
        }
        .content{
            padding:5px;
            word-break:break-all;
        }
        .common{
            height:90%;
        }
        .updateStatus{
            width:100%;
            height:100%;
            font-size:20px;
            line-height:40px;
            text-align: center;
            background:#67672D;
            word-break:break-all;
        }
    </style>
</head>
<body>
<input type="hidden" id="orderId" value="${param.id}" />
<div class="module">
    <div class="order">
        <div class="title">订单信息</div>
        <div class="content">
        </div>
    </div>
</div>
<div class="module">
    <div class="commodity">
        <div class="title">商品信息</div>
        <div class="content"></div>
    </div>
</div>
<div class="module">
    <div class="user">
        <div class="title">买家信息</div>
        <div class="content">
        </div>
    </div>
</div>
<div class="module">
    <div class="common">
        <div class="title"></div>
    </div>
    <div class="updateStatus">
        点击接下此单
    </div>
</div>
<script src="${cdnContentPath}/static/template7/dist/template7.js"></script>
<script type="text/template7" id="orderModule">
    <table style="font-size: 13px;font-family: 'ArialMT','Arial';line-height: 20px;">
        <tr>
            <td>订单编号:</td>
            <td>{{order.id}}</td>
        </tr>
        <tr>
            <td>订单号:</td>
            <td>{{order.orderNumber}}</td>
        </tr>
        <tr>
            <td>实付金额:</td>
            <td>{{order.actuallyPayment}}</td>
        </tr>
        <tr>
            <td>应付金额:</td>
            <td>{{order.shouldPayment}}</td>
        </tr>
        <tr>
            <td>购买数量:</td>
            <td>{{order.amount}}</td>
        </tr>
        <tr>
            <td>电子邮箱:</td>
            <td>{{order.email}}</td>
        </tr>
        <tr>
            <td>姓名:</td>
            <td>{{order.name}}</td>
        </tr>
        <tr>
            <td>手机号:</td>
            <td>{{order.phoneNumber}}</td>
        </tr>
        <tr>
            <td>订单备注:</td>
            <td>{{order.remark}}</td>
        </tr>
        <tr>
            <td>状态:</td>
            <td>{{order.statusName}}</td>
        </tr>
        <tr>
            <td>用户主键:</td>
            <td>{{order.userId}}</td>
        </tr>
        <tr>
            <td>内容主键:</td>
            <td>{{order.visaChildId}}</td>
        </tr>
        <tr>
            <td>创建时间:</td>
            <td>{{order.createTime}}</td>
        </tr>
    </table>
</script>
<script type="text/template7" id="userModule">

    <table style="font-size: 13px;font-family: 'ArialMT','Arial';line-height: 20px;">
        <tr>
            <td>昵称:</td>
            <td>{{user.wechatNickname}}</td>
        </tr>
        <tr>
            <td>地址:</td>
            <td>{{user.country}}-{{province}}-{{user.city}}</td>
        </tr>
        <tr>
            <td>编号:</td>
            <td>{{user.id}}</td>
        </tr>
        <tr>
            <td>openId:</td>
            <td>{{user.openId}}</td>
        </tr>
        <tr>
            <td>昵称:</td>
            <td>{{user.wechatNickname}}</td>
        </tr>
        <tr>
            <td>所在地:</td>
            <td>{{user.country}}-{{user.province}}-{{user.city}}</td>
        </tr>
        <tr>
            <td>性别:</td>
            <td>{{#js_compare "this.user.sex === '0' "}}
                未选择
                {{else}}
                {{#js_compare "this.user.sex === '1' "}}
                男
                {{else}}
                女
                {{/js_compare}}
                {{/js_compare}}
            </td>
        </tr>
        <tr>
            <td>关注状态:</td>
            <td>{{#js_compare "this.user.statusId === '0' "}}未关注{{else}}关注中{{/js_compare}}</td>
        </tr>
        <tr>
            <td>最后关注时间:</td>
            <td>{{user.subscribeTime}}</td>
        </tr>
        <tr>
            <td>创建时间:</td>
            <td>{{user.createTime}}</td>
        </tr>
        <tr>
            <td>头像:</td>
            <td><img src="{{user.logoPath}}" width="80"></td>
        </tr>
    </table>

</script>
<script type="text/template7" id="commodityModule">
    <table style="font-size: 13px;font-family: 'ArialMT','Arial';line-height: 20px;">
        <tr>
            <td>主键:</td>
            <td>{{commodity.visa.id}}</td>
        </tr>
        <tr>
            <td>商品名:</td>
            <td>{{commodity.visa.title}}</td>
        </tr>
        <tr>
            <td>规格:</td>
            <td>{{commodity.visaChild.name}}</td>
        </tr>
        <tr>
            <td>国家:</td>
            <td>{{commodity.visa.country}}</td>
        </tr>
        <tr>
            <td>价格:</td>
            <td>{{commodity.visaChild.price}}(<s style="color:#BDC3C3">{{commodity.visaChild.priceOld}}</s>)</td>
        </tr>
        <tr>
            <td>商品状态:</td>
            <td>{{commodity.visa.statusName}}</td>
        </tr>
    </table>
</script>
<script type="text/javascript" src="${relativePath}/admin-view/order_center/operationVisaOrder/myApp.js"></script>
</body>
</html>
